<html>
<head><meta charset="utf-8"><title>Next steps on #75180 · project-error-handling · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/index.html">project-error-handling</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Next.20steps.20on.20.2375180.html">Next steps on #75180</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="210506511"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Next%20steps%20on%20%2375180/near/210506511" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Charles Lew <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Next.20steps.20on.20.2375180.html#210506511">(Sep 18 2020 at 11:34)</a>:</h4>
<p>Hello, this is a ping from wg-triage, what's the next steps on this PR?</p>



<a name="210508254"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Next%20steps%20on%20%2375180/near/210508254" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Ashley Mannix <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Next.20steps.20on.20.2375180.html#210508254">(Sep 18 2020 at 11:55)</a>:</h4>
<p>That PR is: <a href="https://github.com/rust-lang/rust/pull/75180">https://github.com/rust-lang/rust/pull/75180</a></p>



<a name="210508351"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Next%20steps%20on%20%2375180/near/210508351" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Ashley Mannix <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Next.20steps.20on.20.2375180.html#210508351">(Sep 18 2020 at 11:56)</a>:</h4>
<p>It adds <code>impl&lt;‘a, T: ?Sized + Error&gt; Error for &amp;’a T</code></p>



<a name="210508444"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Next%20steps%20on%20%2375180/near/210508444" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Ashley Mannix <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Next.20steps.20on.20.2375180.html#210508444">(Sep 18 2020 at 11:57)</a>:</h4>
<p>There’s a crater run in the PR that shows a handful of error crates regressing</p>



<a name="210508687"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Next%20steps%20on%20%2375180/near/210508687" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Ashley Mannix <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Next.20steps.20on.20.2375180.html#210508687">(Sep 18 2020 at 12:00)</a>:</h4>
<p>I think the next steps are deciding whether it’s a change we want, to fill one of the gaps that makes <code>impl Error</code> a mostly useless generic bound, and whether we want to do it this way our through some other API</p>



<a name="210508921"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Next%20steps%20on%20%2375180/near/210508921" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Ashley Mannix <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Next.20steps.20on.20.2375180.html#210508921">(Sep 18 2020 at 12:02)</a>:</h4>
<p>I was hoping to bring it up in one of the group’s meetings 😄</p>



<a name="210522938"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Next%20steps%20on%20%2375180/near/210522938" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Next.20steps.20on.20.2375180.html#210522938">(Sep 18 2020 at 14:05)</a>:</h4>
<p>If I understand the PR correctly, SNAFU works around this via <a href="https://docs.rs/snafu/0.6.8/snafu/trait.AsErrorSource.html">https://docs.rs/snafu/0.6.8/snafu/trait.AsErrorSource.html</a></p>



<a name="210527183"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Next%20steps%20on%20%2375180/near/210527183" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Ashley Mannix <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Next.20steps.20on.20.2375180.html#210527183">(Sep 18 2020 at 14:34)</a>:</h4>
<p>Ah that’s interesting 🤔 Is that so you can have generic <code>impl AsErrorSource</code>s that covers both <code>impl Error</code> and <code>dyn Error</code>?</p>



<a name="210527282"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Next%20steps%20on%20%2375180/near/210527282" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Ashley Mannix <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Next.20steps.20on.20.2375180.html#210527282">(Sep 18 2020 at 14:35)</a>:</h4>
<p>That must be one of the regressions too</p>



<a name="210528571"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Next%20steps%20on%20%2375180/near/210528571" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Next.20steps.20on.20.2375180.html#210528571">(Sep 18 2020 at 14:44)</a>:</h4>
<p>SNAFU did not appear in the regression list, AFAICT.</p>



<a name="210536942"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Next%20steps%20on%20%2375180/near/210536942" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Next.20steps.20on.20.2375180.html#210536942">(Sep 18 2020 at 15:37)</a>:</h4>
<p>cool</p>



<a name="210537114"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Next%20steps%20on%20%2375180/near/210537114" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Next.20steps.20on.20.2375180.html#210537114">(Sep 18 2020 at 15:38)</a>:</h4>
<p>&lt;deleted&gt;</p>



<a name="210541306"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Next%20steps%20on%20%2375180/near/210541306" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Next.20steps.20on.20.2375180.html#210541306">(Sep 18 2020 at 16:09)</a>:</h4>
<p><span class="user-mention" data-user-id="204346">@Ashley Mannix</span> im betting this has already been tried and theres a good reason this isnt possible but do you know if it would be possible to use AsRef here?</p>



<a name="210543728"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/Next%20steps%20on%20%2375180/near/210543728" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/Next.20steps.20on.20.2375180.html#210543728">(Sep 18 2020 at 16:27)</a>:</h4>
<p>oh wait, no people can probably implement <code>AsRef&lt;dyn Error&gt;</code> for their local types already so that wont work at all</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>